<template>
    <div class="summary">
        <span>全部任务({{$store.state.TastList.length}})</span>
        <span>已完成({{$store.state.TastList.length - $store.getters.unFinish}})</span>
        <span>未完成({{$store.getters.unFinish}})</span>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.summary {
    display: flex;
    margin: 10px;
    align-items: center;
    justify-content: space-between;

    span {
        display: inline-block;
        padding: 10px;
        background: aquamarine;
        border-radius: 10px;

        &:nth-child(3) {
            background-color: red;
        }
    }
}
</style>